package DAO;

import java.sql.SQLException;
import java.util.ArrayList;
import Model.RankBean;

public interface RankDAO {
	public ArrayList<RankBean> findAllRank()
		throws SQLException, ClassNotFoundException;
	public RankBean findByRankID(int input)
		throws SQLException, ClassNotFoundException;
	public int findNextRank()
		throws SQLException, ClassNotFoundException;		
	
	public void addRank(RankBean inRank)
		throws SQLException, ClassNotFoundException;
	public void updateRank(RankBean inRank)
		throws SQLException, ClassNotFoundException;
	public void deleteRank(RankBean inRank)
		throws SQLException, ClassNotFoundException;
	public void deleteRank(int inRankID)
		throws SQLException, ClassNotFoundException;
}
